<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/3.css">
</head>
<body>
   <header>
    <h1>智慧社区</h1>
    <div class="select">
        <ul>
            <li class="page" id="page1" onclick="changePage('1.html')">社区基础信息&nbsp; </li>
            <li class="page" id="page2" onclick="changePage('2.html')"> 第二页&nbsp; </li>
            <li class="page" id="page3" onclick="changePage('3.html')"> 第三页</li>
        </ul>
    </div>
   </header>
   
    <section class="mainbox">
        <div class="main1">
            <div class="box1">
            </div>
            <div class="box2">

            </div>
        </div>
       
        <div class="main3">
            <div class="box1">
            </div>
            <div class="box2">

            </div>
        </div>
    </section>
   <script>
    function changePage(page) {
        window.location.href = page;
    }
</script>
</body>
</html>